import {UploadRequest} from "./base";

const path = "/file/upload";

// 文件拆分上传服务接口
export const upload = (file: File) => UploadRequest(path, {file});
